package com.godyao.mall.core.constants;

/**
 * @author godyao
 * @date 2022/4/1
 */
public class RedisConstant {
    /**
     * redis中url code前缀
     */
    public static final String SEC_KILL_URL_CODE_PREFIX = "SEC_KILL_URL_CODE:";

    /**
     * redis中商品订单key前缀
     */
    public static final String SEC_KILL_GOODS_KEY_PREFIX = "SEC_KILL_ORDER:";

    /**
     * redis中秒杀key前缀
     */
    public static final String SEC_KILL_KEY_PREFIX = "SEC_KILL_GOODS:";

    /**
     * redis中秒杀的锁
     */
    public static final String SEC_KILL_LOCK = "SEC_KILL_LOCK";
}
